home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tech Arsenal 1
/
Tech Arsenal (Arsenal Computer).ISO
/
tek-03
/
qbasicpg.zip
/
FOR-1.BAS
< prev
next >
Wrap
BASIC Source File
|
1989-08-31
|
260b
|
15 lines
' FOR-1.BAS
' This program demonstrates the FOR loop.
CLS
INPUT "Please enter a number between 2 and 5: ", times%
PRINT
FOR i% = 1 TO times%
PRINT "These lines will print"; times%; "times."
PRINT "This is time"; i%
PRINT
NEXT i%